<#if roles.canCreateMainContract || roles.canCreateBid>
<div class="col-md-12">
	<div class="panel panel-success">
		<div class="panel-heading">
			<h3 class="panel-title">
				<i class="icon-globe icon-large"></i> 我的应用
			</h3>
		</div>
		<div class="panel-body">
			<div class="row">
				<div class="col-md-12">
					<!-- 招标专责 -->
					<#if roles.canCreateBid>
					<div class="btn-group my-apps">
						<div class="btn btn-danger" onclick="window.open('${request.contextPath}/bid/create/${roles.companyIndex}', '_blank')">
							<div>
								<i class="icon-paste icon-3x"></i> <br> 新建投标
							</div>
						</div>
					</div>
					</#if>


					<!-- 合同专责 -->
					<#if roles.canCreateMainContract>
					<div class="btn-group my-apps">
						<div class="btn btn-success" onclick="window.open('${request.contextPath}/contract/create/0', '_blank')">
							<div>
								<i class="icon-copy icon-3x"></i> <br> 新建付款合同
							</div>
						</div>
					</div>

					<div class="btn-group my-apps">
						<div class="btn btn-warning" onclick="window.open('${request.contextPath}/contract/create/1', '_blank')">
							<div>
								<i class="icon-copy icon-3x"></i> <br> 新建收款合同
							</div>
						</div>
						<div class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
							<div>
								<i class="icon-double-angle-down icon-large"></i>
							</div>
						</div>
						<ul class="dropdown-menu">
							<li><a class="create-contract-and-link-bid" href="javascript:;"><i class="icon-copy"></i> 新建并关联投标信息</a></li>
						</ul>
					</div>
					</#if>
				</div>
			</div>
		</div>
	</div>
</div>
</#if>
